package org.p2psimulator.analysis;

import java.util.HashMap;
import java.util.Map;

public class SimulationChart <K, V>{


	private String chartName;
	private String xlabel;
	private String ylabel;
	private Dataset<String, K, V > dataset;

	public SimulationChart(Dataset<String, K, V> dataset, String chartName) {
		super();
		this.dataset = dataset;
		this.chartName = chartName;
	}

	public SimulationChart(String chartName) {
		super();
		this.dataset = new Dataset<String, K, V>(new HashMap<String, Map<K, V>>());
		this.chartName = chartName;
	}

	public void clearDataset(){
		this.dataset.clear();
	}
	public Dataset<String, K, V> getDataset() {
		return dataset;
	}

	public void setDataset(Dataset<String, K, V> dataset) {
		this.dataset = dataset;
	}

	public String getChartName() {
		return chartName;
	}

	public void setChartName(String chartName) {
		this.chartName = chartName;
	}

	public String getXlabel() {
		return xlabel;
	}

	public void setXlabel(String xlabel) {
		this.xlabel = xlabel;
	}

	public String getYlabel() {
		return ylabel;
	}

	public void setYlabel(String ylabel) {
		this.ylabel = ylabel;
	}




}
